﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ViewStationeryCatalogue.aspx.cs" Inherits="PresentationLayer.ViewStationeryCatalogue" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <asp:Label ID="Label1" runat="server" Text="Stationery Catalogue" Font-Size="20pt"></asp:Label>
        <br />
        <br />
        <asp:Label ID="Label2" runat="server" Text="Category :"></asp:Label>
&nbsp;
        <asp:DropDownList ID="ddlCategory" runat="server" AutoPostBack="True" OnSelectedIndexChanged="ddlCategory_SelectedIndexChanged1">
        </asp:DropDownList>
        <br />
        <asp:GridView ID="dgvCatalogue" runat="server" AutoGenerateColumns="False" AllowPaging="True"
            OnPageIndexChanging="dgvCatalogue_PageIndexChanging">
            <Columns>
                <asp:BoundField DataField="ItemName" HeaderText="Item Name" />
                <asp:BoundField DataField="CategoryName" HeaderText="Category" />
                <asp:BoundField DataField="UOM" HeaderText="Unit of Measure" />
                <asp:BoundField DataField="AvailableQty" HeaderText="Quantity Available" />
            </Columns>
            <PagerSettings FirstPageText="First" LastPageText="Last" Mode="NextPreviousFirstLast" NextPageText="Next" PageButtonCount="4" PreviousPageText="Previous" />
        </asp:GridView>
        <br />
    </div>
    </form>
</body>
</html>
